/* 
这是Vuex区域
*/
import Vuex from 'vuex'
import Vue from 'vue'
Vue.use(Vuex);

const actions = {}
const mutations = {
    setIsLoad(state,value){
        this.state.isLoad = value;
    }
}
const state = {
    isLogin:true,
    isLoad:false,
    routerPath:'/login'
}
const getters = {}
export default new Vuex.Store({
    actions,
    mutations,
    state,
    getters,
})